home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / Commander Sets / 4D Speech Pack / 4D Speech Pack.rsrc / TEXT_12211_†SP Get Attr.txt < prev    next >
Encoding:
Text File  |  1994-09-14  |  1.0 KB  |  27 lines

  1. SP Get Attr (reference; rate; pitch) -> err
  2.  
  3. reference   integer       specifys the channel you want to use. Use
  4.                                     the reference number obtained from the
  5.                                     SP Open Voice function. The channel must be
  6.                                     open.
  7. rate            integer      returns the rate in Words per Minute (WPM)
  8.                                    currently used.
  9. pitch           integer      returns the pitch in Hertz currently used.
  10. err             integer       returns the error which occured. 
  11.                                     A value of zero indicates no error occured. See 
  12.                                     below for a list of possible errors.
  13.  
  14. Get the rate and pitch of the specified voice.
  15.  
  16. Example:
  17.   $err := SP Get Attr ($speechref;$rate;$pitch)
  18.  
  19. Possible errors:
  20.         0  No Error
  21.       -4  Speech Pack can not be used (Speech Mgr not available)
  22. -3000  Invalid SpeechChannel parameter, probably invalid reference
  23.             number
  24.  
  25.  
  26.  
  27.